package com.seteam.collabcrossword.messages.server;

import com.seteam.collabcrossword.Globals;
import com.seteam.collabcrossword.messages.Message;

import java.io.Serializable;

/**
 * When a client joins the server, and there is no other client to pair with,
 * the server sends out a wait message. This class represents the wait message
 */
public class WaitForPlayer implements Message, Serializable {
    private static final long serialVersionUID = -6904004974323494908L;

    /**
     * {@inheritDoc}
     */
    public String getAction() {
        return Globals.WAIT_FOR_PLAYER;
    }
}
